# $Id: PKGBUILD 85622 2013-03-04 10:23:51Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Stefano Esposito <ragnarok@email.it>

pkgname=emacs-python-mode
pkgver=6.1.1
pkgrel=1
pkgdesc="Python mode for Emacs"
url="https://launchpad.net/python-mode"
license=("GPL")
arch=('any')
depends=('emacs')
install=emacs-python-mode.install
source=("http://launchpad.net/python-mode/trunk/$pkgver/+download/python-mode.el-$pkgver.tar.gz")
md5sums=('fe2cc3936279255c7f344a02f7ccc912')

package() {
  cd $srcdir/python-mode.el-$pkgver
  install -dm755 $pkgdir/usr/share/emacs/site-lisp/
  install -Dm644 *.el $pkgdir/usr/share/emacs/site-lisp/
  rm -f $pkgdir/usr/share/emacs/site-lisp/pymacs.*
}
